{% extends "content/base.html" %}

{% block title %}{{ page.title }}{% endblock %}

{% block content %}
    <article>
        <h2>{{ page.title }}</h2>
        <div class="page-meta">
            Created: {{ page.created_at|date:"M d, Y" }} | 
            Updated: {{ page.updated_at|date:"M d, Y" }}
        </div>
        <div class="markdown-content">
            {{ html_content|safe }}
        </div>
    </article>
    <p><a href="{% url 'page_list' %}">← Back to all pages</a></p>
{% endblock %}
